<template>
  <div class="container">
    <div class="left">
      <Menu />
    </div>
    <div class="right">
      <router-view />
    </div>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.container {
  min-height: 100vh;
  display: flex;

  > * {
    padding: 20px;
  }

  .left {
    width: 160px;
    min-width: 160px;
    border-right: 1px solid #ccc;
    background-color: #fff;
  }

  .right {
    flex: 1;
    display: grid;
    place-items: center;
    min-width: 500px;

    background: repeating-linear-gradient(
        transparent,
        transparent 50px,
        rgba(0, 0, 0, 0.1) 50px,
        rgba(0, 0, 0, 0.1) 51px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(0, 0, 0, 0.1) 50px,
        rgba(0, 0, 0, 0.1) 51px
      );
  }
}
</style>

<style lang="scss">
* {
  box-sizing: border-box;
  user-select: none;
}

body {
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-color: #efefef;
}
</style>
